package com.aisino.mplearning.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author guochuantao
 * @since 2024/8/27 上午11:40
 * @version 1.0
 * @description  
*/

@Data
public class AccessLog implements Serializable {
    @TableId(value = "aid")
    private Integer aid;

    /**
    * 网站id
    */
    private Integer siteId;

    /**
    * 访问次数
    */
    private Integer count;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    private Date modifyDate;

    private static final long serialVersionUID = 1L;
}